package com.zr.daoimpl;

import org.springframework.stereotype.Repository;

import com.zr.dao.UpdateGuoFanPriceDao;
import com.zr.model.Cdisstation;
@Repository("updagfpdim")
public class UpdateGuoFanPriceDaoImpl <T>extends BaseDaoImpl<T> implements UpdateGuoFanPriceDao<T>{

	@Override
	public void updateFanPrice(int disid, double fkgc, double subkilogramme, double mtm) {
		Cdisstation cs=(Cdisstation) this.getCurrentSession().get(Cdisstation.class, Integer.valueOf(disid));
		cs.setFkgc(fkgc);
		cs.setSubkilogramme(subkilogramme);
		cs.setMtm(mtm);
	}

}
